package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.admin.entity.Config;
import com.zlkj.pro.modular.business.entity.ReportEntity;
import com.zlkj.pro.modular.business.model.dto.ReportDTO;
import com.zlkj.pro.modular.business.model.vo.ReportFlowVO;
import com.zlkj.pro.modular.business.model.vo.ReportVO;

import java.util.List;
import java.util.Map;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface ReportService extends IService<ReportEntity> {

    List<ReportVO> findList(ReportDTO dto);

    List<Config> findConfig();

    boolean add(ReportDTO dto);

    boolean confirm(ReportDTO dto);

    List<String> getNotApproveReason();

    boolean delay(ReportDTO dto);

    ReportVO findDetail(Long id, Long userId);

    List<ReportFlowVO> getFlow(Long id);

    Integer reportCount(Long userId);

    Map<String,Object> findPage(ReportDTO dto);

    ReportVO getWebDetail(Long id);

    Boolean approve(ReportDTO dto);

    Boolean fixCerCode(ReportDTO dto);

    Boolean confirmCerCode(ReportDTO dto);

    Map<String,Object> countReports(ReportDTO dto);

    Boolean fixSellCode(ReportDTO dto);
}
